from Instant
Creates a Timestamp
from the given Instant.
Instant
is based on nanosecond precision, while Timestamp
is based on microseconds. Since Timestamp
has less precision, any additional nanoseconds in the Instant
will be truncated. This does not result in a loss of precision relevant to Timestamp
, as it cannot store nanoseconds.
Return
a Timestamp
that represents the same point in time as the given Instant
, truncated to microsecond precision
Parameters
instant
an Instant
to create a Timestamp
from